package com.jeeplus.modules.monitor.model;

public class ErrorMessage
{
  private String msg;
  private int code;
  public String data;

  public ErrorMessage(String msg, int code , String data)
  {
    this.msg = msg;
    this.code = code;
    this.data=data;
  }

  public String getData() {
    return data;
  }

  public void setData(String data) {
    this.data = data;
  }

  public String getMsg() {
    return this.msg;
  }
  public void setMsg(String msg) {
    this.msg = msg;
  }
  public int getCode() {
    return this.code;
  }
  public void setCode(int code) {
    this.code = code;
  }

  @Override
  public String toString() {
    return "ErrorMessage{" +
            "msg='" + msg + '\'' +
            ", code=" + code +
             ", data='" + data + '\'' +
            '}';
  }
}
